Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add UnexpectedCallsWereMade() to support checking unexpected command call #91

Merged

Conversation

antonyho
Copy link
Contributor

The calling to fail on unexpected command call is there.

This Pull Request adds UnexpectedCallsWereMade function to support checking unexpected command call. When there is unexpected command call, it appends the command to a slice. The UnexpectedCallsWereMade function will return which unexpected commands were called on the mock client.

@antonyho antonyho changed the title Add UnexpectedCallsWereMade() to support checking unexpected command call feat: Add UnexpectedCallsWereMade() to support checking unexpected command call Jun 25, 2024
@monkey92t monkey92t merged commit 129fe29 into go-redis:master Jun 27, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants